package com.chat.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chat.common.entity.User;
import com.chat.common.vo.R;
import com.chat.common.vo.UserVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author weikjie
 * @since 2024-03-29
 */
public interface IUserService extends IService<User> {
    List<User> findByKeyword(String keyword);

    R<UserVo> updateInfo(UserVo userVo);

    R offline(String ID);
}
